#pragma once
#define NAME_MAX 20
#define GENDER_MAX 10
#define TEL_MAX 20
#define ADDR_MAX 20

typedef struct PersonInfo
{
	char name[NAME_MAX];
	char gender[GENDER_MAX];
	int age;
	char tel[TEL_MAX];
	char addr[ADDR_MAX];
}peoInfo;

struct SeqList;
typedef struct SeqList Contact;

void ContactInit(Contact* pcon);
void ContactDestroy(Contact* pcon);

int Find_By_Name(Contact* pcon, char Name[]);

void ContactAdd(Contact* pcon);
void ContactDel(Contact* pcon);
void ContactModify(Contact* pcon);

void ContactFind(Contact* pcon);
void ContactShow(Contact con);